package com.site.wisdom_construction.service.scheduleModule;

import com.site.wisdom_construction.dao.scheduleModule.ProgressMilestonesDao;
import com.site.wisdom_construction.entity.scheduleModule.ProgressMilestones;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author daiyifei
 * @Date 2022/1/16
 * @Description
 */
@Service
public class ProgressMilestonesService implements ProgressMilestonesDao {
    @Autowired
    private ProgressMilestonesDao progressMilestonesDao;

    @Override
    public int insertProgressMilestones(Map map) {
        return progressMilestonesDao.insertProgressMilestones(map);
    }

    @Override
    public int deleteProgressMilestones(Map map) {
        return progressMilestonesDao.deleteProgressMilestones(map);
    }

    @Override
    public int updateProgressMilestones(Map map) {
        return progressMilestonesDao.updateProgressMilestones(map);
    }

    @Override
    public List<ProgressMilestones> findProgressMilestonesByPage(Map map) {
        return progressMilestonesDao.findProgressMilestonesByPage(map);
    }

    @Override
    public long Total(Map map) {
        return progressMilestonesDao.Total(map);
    }

    @Override
    public List<ProgressMilestones> selectProgressMilestones(Map map) {
        return progressMilestonesDao.selectProgressMilestones(map);
    }
}
